package com.dwxt.common.zfbpay;

import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;

public class ZFBUtil {
    public static AlipayClient bulidAlipayClient() {
        return new DefaultAlipayClient(ZFBConfig.url, ZFBConfig.appId,
                ZFBConfig.privateKey, ZFBConfig.format, ZFBConfig.charset, ZFBConfig.publicKey,
                ZFBConfig.signType);
    }
}
